<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/base/base.jsp"%>
<%@ include file="/base/database.jsp" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title>学生名单</title>
<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<link rel="shortcut icon" href="images/logo.jpg">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>

</head>

<body>

  <div class="panel admin-panel">
    <div class="panel-head"><strong class="icon-reorder">学生名单</strong> </div>
    <div class="padding border-bottom">
      <ul class="search" style="padding-left:10px;">
       <li><a href="page/student/student_add.jsp" class="button border-main icon-search"> 添加学生</a></li>
        <li style="color:blue;font-size:16px;">按学生学号搜索：</li>
       <form method="post" action="page/student/action_searchstudent.jsp">
          <input type="text" placeholder="请输入搜索关键字" name="stuID" class="input" style="width:250px; line-height:17px;display:inline-block" value="201700208517" />
          <input type="submit" class="panel-head" value="查询" style="font-size:15pt">
		   <button class="button bg-main icon-check-square-o" type="button" onclick="window.location.href='student_list.jsp'">返回</button></form>	 
      </ul>
    </div>
    <table class="table table-hover text-center">
      <tr>
       			<th>序号</th>
       			<th>学号</th>
				<th>班号</th>
				<th>姓名</th>
				<th>性别</th>
				<th>通讯地址</th>
				<th>学生电话</th>
				<th>联系人</th>
				<th>联系人电话</th>
				<th>操作</th>
      </tr>
    
			<%
				String rs_stuID=(String)session.getAttribute("rs_stuID");
				String rs_classID=(String)session.getAttribute("rs_classID");
				String rs_stuName=(String)session.getAttribute("rs_stuName");
				String rs_sex=(String)session.getAttribute("rs_sex");
				String rs_address=(String)session.getAttribute("rs_address");
				String rs_stuTel=(String)session.getAttribute("rs_stuTel");
				String rs_contact=(String)session.getAttribute("rs_contact");
				String rs_contactTel=(String)session.getAttribute("rs_contactTel");
				
				int index=1;
			%>	
				
			
			

			<tr>
				 <td><%=index++ %></td>
				<td><%=rs_stuID%></td>
				<td><%=rs_classID%></td>
				<td><%=rs_stuName %></td>
				<td><%=rs_sex%></td>
				<td><%=rs_address %></td>				
				<td><%=rs_stuTel%></td>
				<td><%=rs_contact %></td>				
				<td><%=rs_contactTel%></td>
				<td><div class="button-group">
				 <a class="button border-main" href="<%=path%>/page/student/student_edit.jsp?rs_stuID=<%=rs_stuID%>"><span class="icon-edit"></span> 修改</a> <a class="button border-red" href="<%=path%>/page/student/action_delstudent.jsp?rs_stuID=<%=rs_stuID%>" ><span class="icon-trash-o"></span> 删除</a>  </div></td>
			</tr>
	
    </table>
  </div>
</body>
</html>
